//
//  CLVCPage.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2022/5/15.
//

#import "CLViewController.h"

NS_ASSUME_NONNULL_BEGIN
@protocol CLVCPageDelegate <NSObject>
// 获取下一页
- (nullable UIViewController *)pageViewController:(nonnull UIPageViewController *)pageViewController viewControllerAfterViewController:(nonnull UIViewController *)viewController;
// 获取上一页
- (nullable UIViewController *)pageViewController:(nonnull UIPageViewController *)pageViewController viewControllerBeforeViewController:(nonnull UIViewController *)viewController;

@end
@interface CLVCPage : CLViewController
@property (nonatomic, weak) id<CLVCPageDelegate> delegate;
@end

NS_ASSUME_NONNULL_END
